package cc.iotkit.data.service;

import cc.iotkit.data.model.TbDeviceInfo;
import cc.iotkit.model.device.DeviceInfo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 石恒
 * @Date: 2023/7/30 22:46
 * @Description:
 */
public interface DeviceInfoService extends IService<TbDeviceInfo> {
    List<TbDeviceInfo> findByConditions(LambdaQueryWrapper<TbDeviceInfo> lambdaQueryWrapper);

    TbDeviceInfo findOneByConditions(LambdaQueryWrapper<TbDeviceInfo> lambdaQueryWrapper);

    List<TbDeviceInfo> findByProductNodeType(String uid);
}
